package com.boyi.center.controller.impl;


import com.boyi.center.controller.UserOneController;
import com.boyi.db.entity.User;
import com.boyi.db.entity.UserOne;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 颜培轩
 * @date 2017年12月29日  0:04
 */
@RestController
@RequestMapping("userone")
@Api(value = "用户信息管理模块接口->api", tags = {"API获取用户信息Controller"})
public class UserOneControllerImpl extends BaseControllerImpl<UserOne> implements UserOneController {

    @PostMapping("test")
    public String test(User entity, String name) {
        return "success";
    }

    @GetMapping("arrat")
    public void arrat(String[] ids) {
        System.out.println("ids = " + ids);
    }
}
